import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:webview_flutter/webview_flutter.dart';

import '../../res/colors.dart';
import '../../widget/common_widget.dart';
import 'web_logic.dart';

class WebPage extends GetView<WebLogic> {
  const WebPage({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      backgroundColor: ColorStyle.color_fff7f8fa,
      appBar: CommonWidget.appBar(controller.title ?? ''),
      body: WebViewWidget(controller: controller.controller!),
    );
  }
}
